package com.ruicar.afs.cloud.manage.api.feign.OverpaymentDifference;

import com.ruicar.afs.cloud.common.core.feign.annotations.AfsFeignClear;
import com.ruicar.afs.cloud.common.core.util.IResponse;
import com.ruicar.afs.cloud.manage.api.dto.OverpaymentDifferenceDTO;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author infinity
 * @version 1.0
 * @date 2020/9/11 15:58
 */
@FeignClient(value = "${com.ruicar.service-names.manage-server}",contextId = "overpaymentDifference")
public interface OverpaymentDifferenceFeign {

    @ApiOperation(value = "溢缴款、差额信息")
    @PostMapping(value = "contractClose/saveManageOverpaymentDifference")
    IResponse saveManageOverpaymentDifference(@RequestBody OverpaymentDifferenceDTO dto);


    @ApiOperation(value = "溢缴款、差额信息")
    @PostMapping(value = "contractClose/delete")
    IResponse deleteManageOverpaymentDifference(@RequestBody OverpaymentDifferenceDTO dto);

}
